package com.mysql.constants;

/**
 * <b><code></code></b>
 * <p/>
 * 成本核算常量
 * <p/>
 * <b>Creation Time:</b> 2024/9/27 10:40
 *
 * @author xiewn
 * @version ${classInfo.version}
 */
public class CostConstants {

	private static final String SPACE = "";
	
	private static final String INTERFACE_PREFIX = "I";
	
	/**
	 * 实体类常量
	 */
	public final static String ENTITY_MODULE_NAME = "cost-model";
	public final static String ENTITY_TEMPLATE_NAME = "code-generator/mybatis/model.ftl";
	public final static String ENTITY_CLASS_PREFIX = SPACE;
	public final static String ENTITY_CLASS_SUFFIX = "Model.java";
	
	/**
	 * mapper.xml
	 */
	public final static String MAPPER_XML_MODULE_NAME = "cost-producer";
	public final static String MAPPER_XML_TEMPLATE_NAME = "code-generator/mybatis/mapper_xml.ftl";
	public final static String MAPPER_XML_CLASS_PREFIX = SPACE;
	public final static String MAPPER_XML_CLASS_SUFFIX = "Mapper.xml";
	public final static String MAPPER_XML_REPLACE_STR = "com.fw.cost.producer";
	
	/**
	 * 实体类
	 */
	public final static String MAPPER_MODULE_NAME = "cost-producer";
	public final static String MAPPER_TEMPLATE_NAME ="code-generator/mybatis/mapper.ftl";
	public final static String MAPPER_CLASS_PREFIX = INTERFACE_PREFIX;
	public final static String MAPPER_CLASS_SUFFIX = "Mapper.java";
	
	/**
	 * addForm
	 */
	public final static String ADD_FORM_MODULE_NAME = "cost-model";
	public final static String ADD_FORM_TEMPLATE_NAME ="code-generator/mybatis/add_form.ftl";
	public final static String ADD_FORM_CLASS_PREFIX = SPACE;
	public final static String ADD_FORM_CLASS_SUFFIX = "AddForm.java";
	
	/**
	 * queryForm
	 */
	public final static String QUERY_FORM_MODULE_NAME = "cost-model";
	public final static String QUERY_FORM_TEMPLATE_NAME ="code-generator/mybatis/query_form.ftl";
	public final static String QUERY_FORM_CLASS_PREFIX = SPACE;
	public final static String QUERY_FORM_CLASS_SUFFIX = "QueryForm.java";

	/**
	 * delForm
	 */
	public final static String DEl_FORM_MODULE_NAME = "cost-model";
	public final static String DEl_FORM_TEMPLATE_NAME ="code-generator/mybatis/del_form.ftl";
	public final static String DEl_FORM_CLASS_PREFIX = SPACE;
	public final static String DEl_FORM_CLASS_SUFFIX = "DelForm.java";
	
	/**
	 *  导入from
	 */
	public final static String IMPORT_FORM_MODULE_NAME = "cost-model";
	public final static String IMPORT_FORM_TEMPLATE_NAME ="code-generator/mybatis/import_excel.ftl";
	public final static String IMPORT_FORM_CLASS_PREFIX = SPACE;
	public final static String IMPORT_FORM_CLASS_SUFFIX = "ImportExcelForm.java";
	

	/**
	 *  service
	 */
	public final static String SERVICE_MODULE_NAME = "cost-producer";
	public final static String SERVICE_TEMPLATE_NAME ="code-generator/mybatis/service.ftl";
	public final static String SERVICE_CLASS_PREFIX = INTERFACE_PREFIX;
	public final static String SERVICE_CLASS_SUFFIX = "Service.java";

	/**
	 *  serviceImpl
	 */
	public final static String SERVICE_IMPL_MODULE_NAME = "cost-producer";
	public final static String SERVICE_IMPL_TEMPLATE_NAME ="code-generator/mybatis/service_impl.ftl";
	public final static String SERVICE_IMPL_CLASS_PREFIX = SPACE;
	public final static String SERVICE_IMPL_CLASS_SUFFIX = "ServiceImpl.java";


	/**
	 *  controller
	 */
	public final static String CONTROLLER_MODULE_NAME = "cost-api";
	public final static String CONTROLLER_TEMPLATE_NAME ="code-generator/mybatis/controller.ftl";
	public final static String CONTROLLER_CLASS_PREFIX = SPACE;
	public final static String CONTROLLER_CLASS_SUFFIX = "Controller.java";


}
